package com.ldxiwxr.system.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ldxiwxr.system.entity.article.ArticleCategory;
import com.ldxiwxr.system.mapper.ArticleCategoryMapper;
import com.ldxiwxr.system.service.IArticleCategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ArticleCategoryServiceImpl implements IArticleCategoryService {

    @Resource
    private ArticleCategoryMapper articleCategoryMapper;


    @Override
    public List<ArticleCategory> getCategoryList() {
        return articleCategoryMapper.selectList(Wrappers.lambdaQuery());
    }
}
